Skip to content

Conversation

@almog2296
Copy link
Contributor

Related Issues

fixes: Ticket

Description

Adds a new ignorable validation (BA129) that ensures commands/scripts declare the appropriate compliantpolicies when using arguments associated with specific compliance standards (defined in compliant_policies.json).

Key Logic:
Checks if command arguments match any known policy arguments.
Verifies that the compliantpolicies field contains the required policy name.
Multi-Policy Support: If an argument is associated with multiple policies (e.g., "Soft" and "Hard" remediation), the validation passes if at least one of them is present.

@almog2296 almog2296 requested review from a team and yedidyacohenpalo as code owners December 21, 2025 13:18
@github-actions
Copy link

Changelog(s) in markdown:

  • Adds a new ignorable validation (BA129) that ensures commands/scripts declare the appropriate compliantpolicies when using arguments associated with specific compliance standards (defined in compliant_policies.json). #5168

@github-actions
Copy link

Changelog(s) in markdown:

  • Adds a new validation (BA129) that ensures commands/scripts declare the appropriate compliantpolicies when using arguments associated with specific compliance standards (defined in compliant_policies.json). #5168

@almog2296 almog2296 requested a review from Shellyber January 11, 2026 09:10
Copy link
Contributor

@Shellyber Shellyber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work

@almog2296 almog2296 merged commit da38c38 into master Jan 13, 2026
28 checks passed
@almog2296 almog2296 deleted the exclusion-tags-policies-validation branch January 13, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants